
#include"ProcessPool.hpp"

int main(int argc,char *argv[])
{
    if(argc == 1)
    {
        std::cout<<"ProcessPool -num"<<std::endl;
        return UsageError;
    }

    ProcessPool p(std::stoi(argv[1]));
    p.InitProcessPool();
    p.DispatchTask();
    p.CleanProcessPool();

    return 0;
}